package chapter02

import scala.io.StdIn

/**
  * create by unseRdoG on  2021-05-28  12:05
  */
object Test05_StdIn {

  def main(args: Array[String]): Unit = {

    println("输入姓名")
    val name: String = StdIn.readLine()

    println("输入年龄")
    val age: Int = StdIn.readInt()


    println(s"welcome ${name} and age is ${age}")

  }

}
